package com.atguigu.javaee.IIOC;

import com.atguigu.javaee.IOC.Buttom;

public class FrameWork {
    private Buttom buttom;
    public FrameWork(Buttom buttom){
        this.buttom=buttom;
    }
    public void init(){
        System.out.println("执行framework");
        //依赖底盘
        buttom.init();
    }
}
